package com.marvels.loanapply.api.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.marvels.loanapply.api.MclaLinkmanMobileApi;
import com.marvels.loanapply.dao.MclaLoanApplyLinkmanDao;
import com.marvels.loanapply.dto.MclaLoanApplyLinkmanDTO;

/**
 * 用户联系人实现
 * @author tangpw
 *
 */
@Service
public class MclaLinkmanMobileImpl implements MclaLinkmanMobileApi{

	@Autowired
	private MclaLoanApplyLinkmanDao linkManDao;
	@Override
	public List<MclaLoanApplyLinkmanDTO> selectByLoanId(String loanId) {
		return linkManDao.selectByLoanId(loanId);
	}
	
	@Override
	public void saveLinkmanMobile(List<MclaLoanApplyLinkmanDTO> list) {
		linkManDao.saveLinkmanMobile(list);
	}

}
